<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Tag extends Model
{
    public function repositories()
    {
        return $this->morphedByMany(Repository::class, 'taggable');
    }
}
